package com.lexue.domain;

/**
 * Subject entity. @author MyEclipse Persistence Tools
 */

public class Subject implements java.io.Serializable {

	// Fields

	private Integer subjectId;
	private TeacherInfo teacherInfo;
	private String subjectName;
	private Float subjectPrice;
	private String subjectTime;
	private String subjectWay;
	private Byte subjectState;
	private String others;

	// Constructors

	/** default constructor */
	public Subject() {
	}

	/** full constructor */
	public Subject(TeacherInfo teacherInfo, String subjectName,
			Float subjectPrice, String subjectTime, String subjectWay,
			Byte subjectState, String others) {
		this.teacherInfo = teacherInfo;
		this.subjectName = subjectName;
		this.subjectPrice = subjectPrice;
		this.subjectTime = subjectTime;
		this.subjectWay = subjectWay;
		this.subjectState = subjectState;
		this.others = others;
	}

	// Property accessors

	public Integer getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public TeacherInfo getTeacherInfo() {
		return this.teacherInfo;
	}

	public void setTeacherInfo(TeacherInfo teacherInfo) {
		this.teacherInfo = teacherInfo;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Float getSubjectPrice() {
		return this.subjectPrice;
	}

	public void setSubjectPrice(Float subjectPrice) {
		this.subjectPrice = subjectPrice;
	}

	public String getSubjectTime() {
		return this.subjectTime;
	}

	public void setSubjectTime(String subjectTime) {
		this.subjectTime = subjectTime;
	}

	public String getSubjectWay() {
		return this.subjectWay;
	}

	public void setSubjectWay(String subjectWay) {
		this.subjectWay = subjectWay;
	}

	public Byte getSubjectState() {
		return this.subjectState;
	}

	public void setSubjectState(Byte subjectState) {
		this.subjectState = subjectState;
	}

	public String getOthers() {
		return this.others;
	}

	public void setOthers(String others) {
		this.others = others;
	}

}